package xyz.weizhi.service;
import org.springframework.stereotype.Service;
import xyz.weizhi.domain.book;

import java.util.List;

/**
 * @Author milian
 * @Date 2021/9/15 0015 9:44
 */

public interface bookService {

    List<book> selectAllBook();


    List<book> selectBookByName(String name);


    Boolean addBook(book book);


    Boolean updateBookById(Integer id);


    Boolean deleteBookById(Integer id);
}
